package es.dk.hl.commands
{
	import com.adobe.cairngorm.commands.ICommand;
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import es.dk.hl.event.WallEvent;
	import es.dk.hl.model.HomeLinkModelLocator;
	
	import mx.core.UIComponent;
	
	public class Wall_ListenClickPhoto_Command implements ICommand
	{
		public function Wall_ListenClickPhoto_Command()
		{
		}
		
		public function execute(event:CairngormEvent):void
		{
			HomeLinkModelLocator.getInstance().dicIWallHelpers[UIComponent(WallEvent(event).iWallHelper.getView()).id] = WallEvent(event).iWallHelper	
		}
	}
}